package com.turing.post.cardmanagement.util;

import java.math.BigInteger;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;

/**
 * 应用管理信息
 * 
 * @author zxp
 * @Apr 9, 2013
 */
@Remote
@Local
public interface AppManagementDao {

	public AppManagement getAppManagementByAppId(BigInteger appId);

	public Integer getAppManagementTotal();

	public List<AppManagement> getAppManagementList(Integer page);

	public void insert(AppManagement amg) throws PCPSApplicationException;

	public void update(AppManagement amg) throws PCPSApplicationException;

	public AppManagement getAppManagementByAID(String AID);
	
	/**
	 * 根据appids获取应用列表
	 * appids用","隔开
	 * @param appids
	 * @return
	 */
	public List<AppManagement> getAppManageListByAppIds(String appids);
}
